package com.property.manage.model.fee;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 描述 物业管理费
 *
 * @author lwb
 * @since 2020/7/16
 */
@Data
@TableName("t_property")
@ApiModel("物业管理费")
public class Property {

    @ApiModelProperty("编号")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("楼栋编号")
    private Integer buildingId;

    @ApiModelProperty("档次编号")
    private Integer gradeId;
    private BigDecimal shouldPay;

    @ApiModelProperty("下次缴费时间")
    @TableField(strategy = FieldStrategy.IGNORED)
    private LocalDate nextPayDate;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("联系方式")
    private String mobile;
}
